package com.example.zhaojianxu.signin.common.bean

import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.View

abstract class BaseFragment: Fragment(){

    abstract fun initView()

    abstract fun initData()

    fun init(){
        initView()
        initData()
    }


    override fun onActivityCreated(savedInstanceState: Bundle?) {
        super.onActivityCreated(savedInstanceState)
        init()
    }

}